package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 角色和排班关系中间表
 * </p>
 *
 * @author zqb
 * @date 2024-07-18 15:42:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "角色和排班关系")
public class BWorkRolesSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    @Schema(description = "角色id")
    @NotNull(message = "请填写角色id")
    private Long roleId;
    /**
     * 排班id
     */
    @Schema(description = "排班id")
    @NotNull(message = "请填写排班id")
    private Long workId;



}
